Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed TargetOnKart.wrap_with_lock to TargetOnKart.wrap_with_run_lock #332

Merged
merged 2 commits into from
Nov 9, 2023

Conversation

mski-iksm
Copy link
Contributor

This method was calling wrap_with_run_lock(), so I think TargetOnKart.wrap_with_run_lock is more accurate name.

@@ -253,7 +253,7 @@ def test_no_redis(self):
redis_port=None,
)
mock_func = MagicMock()
resulted = wrap_with_run_lock(func=mock_func, redis_params=redis_params)(123, b='abc')
resulted = wrap_with_load_lock(func=mock_func, redis_params=redis_params)(123, b='abc')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TestWrapWithLoadLock was suppose to test wrap_with_load_lock(), but accidentally tested wrap_with_run_lock() in mistake.

@mski-iksm mski-iksm force-pushed the fix/fix_wrap_with_run_lock_name branch from d587d89 to 0924d54 Compare November 9, 2023 10:27
Copy link
Member

@Hi-king Hi-king left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good :)

@Hi-king Hi-king merged commit 538bec9 into m3dev:master Nov 9, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants